package cn.dz.domain.mp.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.Getter;

/**
 * @ClassName UserStatus
 * @package: cn.dz.domain.mp.enums
 * @Description 枚举常量
 * @Author dz
 * @Date 2025/1/10 11:55
 * @Version 1.0
 **/
@Getter
public enum UserStatus {
    NORMAL(1, "正常"),
    FREEZE(2, "冻结");

    @EnumValue
    private final int value;
    private final String desc;

    UserStatus(int value, String desc) {
        this.value = value;
        this.desc = desc;
    }
}
